Skip to content

Passthrough _pydevd_bundle to sandbox when debug mode is enabled#1249

Merged
tconley1428 merged 1 commit into
mainfrom
debug-mode-passthrough
Jun 2, 2026
Merged

Passthrough _pydevd_bundle to sandbox when debug mode is enabled#1249
tconley1428 merged 1 commit into
mainfrom
debug-mode-passthrough

Conversation

@VegetarianOrc
Copy link
Copy Markdown
Contributor

What was changed

  • Add debugpy bundle import passthrough when debug mode is enabled.

Why?

debugpy is used by the Microsoft authored VSCode python debugger. Automating the passthrough eliminates one of the hurdles when connecting a debugger to workflows.

Checklist

  1. Closes [Feature Request] Confirm vscode debuggability within sandbox #213
  2. Closes [Bug] Can't debugging workflow using vscode #238

How was this tested:

A simple test was validated to confirm debug settings are set correctly by enabling the debug_mode flag and by setting the TEMPORAL_DEBUG env var.

I also manually built and installed the wheel into a fresh project to confirm that debugging in VSCode works by setting the debug_mode flags.

Any docs updates needed?

Debugging docs updates are in the works

@VegetarianOrc VegetarianOrc requested a review from a team as a code owner December 11, 2025 20:42
@EverythingSuckz
Copy link
Copy Markdown

Bump

@elidlocke
Copy link
Copy Markdown

Hi @VegetarianOrc — any chance of getting this rebased and merged? Would love to use it.

…ugpy is used by the Microsoft authored VSCode python debugger
@tconley1428 tconley1428 force-pushed the debug-mode-passthrough branch from b35b719 to 387c2f3 Compare June 2, 2026 16:46
@tconley1428 tconley1428 merged commit 9a95fef into main Jun 2, 2026
16 checks passed
@tconley1428 tconley1428 deleted the debug-mode-passthrough branch June 2, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Can't debugging workflow using vscode [Feature Request] Confirm vscode debuggability within sandbox

4 participants